function isType(data){
     return function(item){
        return Object.prototype.toString.call(item).includes(data);
     }
}
let types = ['Array','Object','Symbol','Number','String','Boolean'];
let fns={};
types.map(item=>{
     fns['is'+item]=isType(item);
})

